><

Using delimiters



As already noted, delimiters tell Adobe GoLive's text macro interpreter where the content of a text macro starts and ends. You can use any character as a delimiter, as long as you heed one basic rule: The delimiter may not occur in the macro content itself. You can even use white space and carriage returns to insert structured text and multi-line code, respectively.

Here is an example of improper delimiter usage:

image "<img "src=../GIFS/???.GIF" width="20" height="20">"

This macro definition won't produce a usable result because it uses double quotes as delimiters. The double quotes are already used to enclose tag attributes in the HMTL tag definition, so Adobe GoLive will only insert the text before the second double quote character. The result would be:

image "<img

Note: As a general rule of thumb, you should refrain from using characters that are typically used as structural elements within the source code syntax, for example, the less than (<) and greater than signs (>) enclosing HTML tags.


Working in HTML > Using text macros with source code editors > Using delimiters